﻿<!DOCTYPE html>
<html>
<head>
   <title>Performing a simulation with VI-DriveSim in SimulationWorkbench</title>
   <meta name="generator" content="Help & Manual">
   <meta name="keywords" content="">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link type="text/css" href="default.css" rel="stylesheet">
   <link type="text/css" href="custom.css" rel="stylesheet">
   <script type="text/javascript" src="nsh.js"></script>
   
<!-- non-scrolling headers for CHM and browser-based help, local styles-->
<style TYPE="text/css" media="screen"> 
   <!-- 
   body {    
      margin:0; 
      padding:0; 
      overflow: auto; 
      background: #edede9; 
   } 
   #idheader { 
      width:100%; 
      height:auto; 
      padding: 0; 
      margin: 0;     
} 
    #idheaderbg  {
    background: #E40A00; 
}
#idheadernowrap  {
    white-space:nowrap; 
}
    ul {list-style-type: lower-roman}
   -->
   </style>
   
<style TYPE="text/css" MEDIA="print">
<!--
/* Hide navigation links and add space between header
     and text in the printed version. Not valid for eBooks. */
#idnav { display:none;	 }
.topichead { padding: 5px 5px 20px 5px; }
-->
</style>   
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <script type="text/javascript" src="helpman_topicinit.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "vbk_tut_performing_a_simulation_with_v.htm");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>

<!--ZOOMSTOP-->

<div id="idheader" >
<div id="idheaderbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
       style="margin: 0px; color: #D7D7D7;">

  <tr valign="middle">
    <td align="left" valign="middle" class="topichead">
    <!--<div id="idheadernowrap">-->
    <p class="crumbs" id="idnav"><b>Navigation:</b>&nbsp;
   
   VI-DriveSim 19.2 on Linux &gt; <a href="drivesim_tut_tutorials.htm">VI-DriveSim 19.2 Tutorials</a> &gt; Performing a simulation with VI-DriveSim&nbsp;&gt;</p>
      <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">Performing a simulation with VI-DriveSim in SimulationWorkbench</span></h1>

    <!--</div>-->
    </td>
    <td align="right" width="180" valign="middle" class="topichead" id="idnav">
    <div id="idheadernowrap">
    <a href="javascript: print();"
    		onmouseover="document.images.prntr.src='print_a.png'" 
        onmouseout="document.images.prntr.src='print_n.png'"
        ><img name="prntr" border="0" alt="Print this Topic" title="Print this Topic" src="print_n.png"
        ></a>&nbsp;&nbsp;
     <a href="drivesim_setting_up_files_and_folders.htm"
        onmouseover="document.images.prev.src='back_a.png'" 
        onmouseout="document.images.prev.src='back_n.png'"
        ><img name=prev src="back_n.png" border=0 alt="Previous page"
        ></a><a href="drivesim_tut_tutorials.htm"
        onmouseover="document.images.main.src='top_a.png'" 
        onmouseout="document.images.main.src='top_n.png'"><img name=main src="top_n.png" border=0 alt="Return to chapter overview"
        ></a><a href="drvsim_inst_logging-csv-files-with-prod_na.htm"
        onmouseover="document.images.next.src='next_a.png'" 
        onmouseout="document.images.next.src='next_n.png'"><img name=next src="next_n.png" border=0 alt="Next page"
        ></a>
    </div>
    </td>
  </tr>
</table>
</div>

<!-- The following code displays Expand All/Collapse All links  below the header in topics containing toggles -->
  

</div>  



<div id="idcontent"><div id="innerdiv"> 
<!--ZOOMRESTART-->
<p class="p_Normal" style="text-align: left;"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Please run VI-DriveSim by double clicking on its icon, a window like the following will appear:</span></p>
<p class="p_Normal" style="text-align: left;">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drivesim_18" width="778" height="582" style="margin:0px auto 0px auto;width:778px;height:582px;border:none" src="drivesim_18.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">In order to launch a simulation with VI-DriveSim, please follow these steps.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">Select from the drop down (red highlighting) menus &quot;test&quot; and &quot;session&quot; which test/session you want to load from Simulation Workbench (see the chapter <a href="drivesim_simulation_workbench_configura.htm" class="topiclink">SimWB Configuration</a> to see how to create RTDB, Test and Test Session);</p>
<p class="p_Normal">Be sure to select the right project (in blue in the example: &quot;default&quot;). &quot;<a href="drvsim_confproject_configuration.htm" class="topiclink">Project configuration</a>&quot; section is explained in the relative chapter of the VI-DriveSim interface guide.</p>
<p class="p_Normal"><span style="font-weight: bold;">NOTE: if a new test or test-session is created and VI-DriveSim is still in execution, a reboot of VI-DriveSim is needed to load the new test/test-session. </span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_sim_1_tiled" width="778" height="247" style="margin:0px auto 0px auto;width:778px;height:247px;border:none" src="drvsim_sim_1_tiled.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">Under the<span style="font-style: italic;"> vicrt</span> drop down menu, fill the field VIDRIVESIM_MODEL with the send.xml file you want to run (use the browse button to select it interactively, red highlighting);</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_vicrt_model" width="973" height="374" style="margin:0px auto 0px auto;width:973px;height:374px;border:none" src="drvsim_vicrt_model.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">Click on &quot;save config&quot; in order to save your choice in the environment file, the &quot;save config&quot; button will go in &quot;inactive status&quot;.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_sim_save_config" width="778" height="247" style="margin:0px auto 0px auto;width:778px;height:247px;border:none" src="drvsim_sim_save_config.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal" style="text-align: left;"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Before starting the simulation, be sure to select the desired VI-CRT Inputs from the VI-DriveSim GUI as shown in the following image:</span></p>
<p class="p_Normal" style="text-align: left;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_input_sel" width="318" height="552" style="margin:0px auto 0px auto;width:318px;height:552px;border:none" src="drvsim_input_sel.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">Press start and wait for the simulation to start, the<span style="font-style: italic;"> test status</span> window will show &quot;starting&quot;;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_sim_3" width="778" height="249" style="margin:0px auto 0px auto;width:778px;height:249px;border:none" src="drvsim_sim_3.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">If the simulation starts correctly you should see the <span style="font-style: italic;">Pause</span> state becoming active, waiting for the driver request to start.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_sim_4" width="778" height="249" style="margin:0px auto 0px auto;width:778px;height:249px;border:none" src="drvsim_sim_4.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal" style="text-align: left;"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">To stop a running simulation click on the </span><span class="f_ImageCaption" style="font-size: 10pt; font-style: italic; font-weight: normal;">Stop</span><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;"> button as shown in the image below, the </span><span class="f_ImageCaption" style="font-size: 10pt; font-style: italic; font-weight: normal;">test status</span><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;"> window will show &quot;halting...&quot;;</span></p>
<p class="p_Normal" style="text-align: left;">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_sim_5" width="778" height="249" style="margin:0px auto 0px auto;width:778px;height:249px;border:none" src="drvsim_sim_5.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal" style="text-align: left;"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">After a few seconds the simulation will Stop, the status window will show the &quot;halted&quot; condition.</span></p>
<p class="p_Normal" style="text-align: left;">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_sim_6" width="778" height="249" style="margin:0px auto 0px auto;width:778px;height:249px;border:none" src="drvsim_sim_6.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>

<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript"> 
<!-- 
var lastSlashPos = document.URL.lastIndexOf("/") >
document.URL.lastIndexOf("\\") ? document.URL.lastIndexOf("/") :
document.URL.lastIndexOf("\\");
if( document.URL.substring( lastSlashPos + 1, lastSlashPos + 4
).toLowerCase() != "~hh" )
{
    nsrInit();
}
--> 
</script> 
</body>
</html>
